package com.onlineOrder.bean;

import java.util.Objects;

public class shopList {
    private String shopId;
    private String shopName;
    private String sale;
    private String password;
    private String owner;
    private String phone;
    private String message;
    private String address;
    private String state;
    private String register;
    private String flag;

    public shopList() {
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getSale() {
        return sale;
    }

    public void setSale(String sale) {
        this.sale = sale;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getRegister() {
        return register;
    }

    public void setRegister(String register) {
        this.register = register;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "shopList{" +
                "shopId='" + shopId + '\'' +
                ", shopName='" + shopName + '\'' +
                ", sale='" + sale + '\'' +
                ", password='" + password + '\'' +
                ", owner='" + owner + '\'' +
                ", phone='" + phone + '\'' +
                ", message='" + message + '\'' +
                ", address='" + address + '\'' +
                ", state='" + state + '\'' +
                ", register='" + register + '\'' +
                ", flag=" + flag +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        shopList shopList = (shopList) o;
        return flag == shopList.flag && Objects.equals(shopId, shopList.shopId) && Objects.equals(shopName, shopList.shopName) && Objects.equals(sale, shopList.sale) && Objects.equals(password, shopList.password) && Objects.equals(owner, shopList.owner) && Objects.equals(phone, shopList.phone) && Objects.equals(message, shopList.message) && Objects.equals(address, shopList.address) && Objects.equals(state, shopList.state) && Objects.equals(register, shopList.register);
    }

    @Override
    public int hashCode() {
        return Objects.hash(shopId, shopName, sale, password, owner, phone, message, address, state, register, flag);
    }
}
